//
//  AAAnimationExecutor.m
//  AnimAPI
//
//  Created by Alécio José Gomes Neto on 04/03/11.
//  Copyright 2011. All rights reserved.
//

#import "AAAnimationExecutor.h"

@implementation AAAnimationExecutor

@synthesize animation;
@synthesize view;

-(id) init{
	return [self initWithAnimation:nil andView:nil];
}

-(id) initWithAnimation:(AAAnimation *)anAnimation andView: (UIView*) aView{
	
	if ([super init]) {
		if (self.animation != nil) {
			self.animation = anAnimation;
		}
		
		if (self.view != nil) {
			self.view = aView;
		}
	}
	
	return nil;
	
}

-(void) execute {
	NSLog(@"Now i'm executing an animation. LOL.");
}

@end
